<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Vue 3 模板语法</title>
    <script src="https://unpkg.com/vue@3/dist/vue.global.js"></script>
</head>
<body>
    <div id="app">{{message}}</div>
   <script>
    const {createApp,ref}=Vue;
    createApp({
        setup(){
            const message=ref("Hello Vue3");
            return {message};
        }
    }).mount('#app');


   </script>
</body>
</html>
